module.exports = {
  // lintOnSave: false,
  // configureWebpack: {
  //   devtool: 'source-map'
  // },
  publicPath: process.env.NODE_ENV === "production" ? "/picturehost" : "/",
  devServer: {
    port: 8080,
    proxy: {
      "/api": {
        target: "https://gitee.com/api/v5/",
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          "^/api": ""
        }
      }
    }
  }
}
